import json

number = input("输入您喜欢的数字")
file_name = "nuber.json"
with open(file_name, 'w') as file:
	json.dump(number, file)

with open(file_name) as file:
	number = json.load(file)
	print(f"I know your favorite number! it's {number}")